﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YXShop.Model.Stocks
{
    [Serializable]
    public class StocksEnum
    {
    }
    /// <summary>
    ///  仓库类型
    /// </summary>
    [Serializable]
    public enum StockTypeEnum:uint
    { 
        /// <summary>
        ///  中央仓库
        /// </summary>
        CenterStock=0,  
        /// <summary>
        /// 区域赃款
        /// </summary>
        AreaStock=1,
        /// <summary>
        /// 门店仓库
        /// </summary>
        ShopStock=2
    }
    /// <summary>
    /// 商品状态
    /// </summary>
    [Serializable]
    public enum ProductStateEnum:uint
    {
        /// <summary>
        /// 订购状态 生成条形码未入库 下状态为入库
        /// </summary>
        Order=0,
        /// <summary>
        /// 入库状态 下状态可以为出库 退货 出售 等
        /// </summary>
        Putin=1,
        /// <summary>
        /// 出库状态 下状态为入库
        /// </summary>
        Putout=2,
        /// <summary>
        /// 售出状态  下状态只能是退货状态
        /// </summary>
        Selled=3,
        /// <summary>
        /// 退货状态  下状态为出库
        /// </summary>
        Returned=4,
        /// <summary>
        /// 删除状态
        /// </summary>
        Deleted=5
    }
    /// <summary>
    /// 待入库商品状态
    /// </summary>
    [Serializable]
    public enum InTypeEnum:uint
    {
        Normal=0,
        Returned=1
    }
    /// <summary>
    /// 出库类型
    /// </summary>
    [Serializable]
    public enum OutTypeEnum : uint
    {
        Normal = 0,
        Returned = 1,
        Selled = 2
    }
}
